ImportModel("Base")

Sensor = {}

Sensor.PosPort="COM5"
Sensor.PosBaud="9600"

Sensor.ForcePort="COM5"
Sensor.ForceBaud="9600"

Sensor.PowerPort="COM5"
Sensor.PowerBaud="9600"
function Sensor.Hello()
    print("Hello")
end

function Sensor.GetPos()
    return GetPos(Sensor.PosPort,Sensor.PosBaud)
end

function Sensor.GetForce(id)
    return GetForce(Sensor.ForcePort,Sensor.ForceBaud,id)
end

function Sensor.SetNoOffPower(en)
    SetNoOffPower(Sensor.PowerPort,Sensor.PowerBaud,en)
end

return Sensor